package com.goldgov.basedata.service;

import java.util.Date;
import java.util.List;

/**
 * 数据字典类型bean
 * @ClassName: DataType
 */
public class DataType {

	private String typeID;//类型id
	private String typeCode;//类型编码
	private String typeName;//类型名称
	private String parentTypeID;//父类型id
	private Integer orderNum;//排序
	private Integer activeStatus;//活动状态
	private Date lastModifyTime;//最后修改时间
	private String userID;//用户id
	private String orgID;//机构id
	private boolean leaf;//是否包含子集; 是：true  否：false
	private String orgCode;//机构编码
	
	private List<DataType> children;//子类
	public String getOrgCode() {
		return orgCode;
	}
	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}
	public String getTypeID() {
		return typeID;
	}
	public void setTypeID(String typeID) {
		this.typeID = typeID;
	}
	public String getTypeCode() {
		return typeCode;
	}
	public void setTypeCode(String typeCode) {
		this.typeCode = typeCode;
	}
	public String getTypeName() {
		return typeName;
	}
	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}
	public String getParentTypeID() {
		return parentTypeID;
	}
	public void setParentTypeID(String parentTypeID) {
		this.parentTypeID = parentTypeID;
	}
	public Integer getOrderNum() {
		return orderNum;
	}
	public void setOrderNum(Integer orderNum) {
		this.orderNum = orderNum;
	}
	public Integer getActiveStatus() {
		return activeStatus;
	}
	public void setActiveStatus(Integer activeStatus) {
		this.activeStatus = activeStatus;
	}
	
	public Date getLastModifyTime() {
		return lastModifyTime;
	}
	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}
	public String getUserID() {
		return userID;
	}
	public void setUserID(String userID) {
		this.userID = userID;
	}
	public String getOrgID() {
		return orgID;
	}
	public void setOrgID(String orgID) {
		this.orgID = orgID;
	}
	public boolean isLeaf() {
		return leaf;
	}
	public void setLeaf(boolean leaf) {
		this.leaf = leaf;
	}
	public List<DataType> getChildren() {
		return children;
	}
	public void setChildren(List<DataType> children) {
		this.children = children;
	}
	
	
	
	
}
